package com.jinglin.web;

public class Measurement implements TestInterface{
    int i;
    long l;
    boolean b;
    float f;
    double d;
    char c;
    String s;
    Object o;
    int[] ints;

    public static void main(String[] args) {
        Measurement measurement = new Measurement();
        measurement.printAll();
    }

    public void printAll() {
        System.out.println("Java各数据类型的初始值如下\n" +
                "Int:" + i + "\n" +
                "Long:" + l + "\n" +
                "Boolean:" + b + "\n" +
                "Float:" + f + "\n" +
                "Double:" + d + "\n" +
                "Char:" + c + "\n" +
                "String:" + s + "\n" +
                "Object:" + o + "\n" +
                "Array:" + ints + "\n"
        );
    }


    @Override
    public int addCount() {
        return 0;
    }
}
